package lagou.util;
/*
* 编程实现上网套餐类
* */
public class NetType implements NetServiceIn{
    public byte net_flow;  //上网流量
    public byte payment;   //每月资费
    public void show(){
        System.out.println("上网流量为："+net_flow);
        System.out.println("每月资费为："+payment);
    }

    @Override
    public void getnet(byte net_flow, Card c) {
        System.out.println("实现上网服务接口");
    }
}
